#include "line.h"

line::line()
{

}
line::line(int bID, int aID, int sID)
{
    this->setBeforeID(bID);
    this->setAfterID(aID);
    this->setSelfID(sID);
}
void line::setBeforeID(int ID)
{
    this->beforeID = ID;
}

int line::getBeforeID()
{
    return this->beforeID;
}

void line::setAfterID(int ID)
{
    this->afterID = ID;
}

int line::getAfterID()
{
    return this->afterID;
}

void line::setSelfID(int ID)
{
    this->selfID = ID;
}

int line::getSelfID()
{
    return this->selfID;
}

void line::setValue(bool value)
{
    this->value = value;
}

bool line::getValue()
{
    return this->value;
}
